import { NgModule }      from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { TooltipModule } from 'ng2-bootstrap/tooltip';
import { DatepickerModule } from 'ng2-bootstrap/datepicker';
import { ShareModule } from "../../share/share.module";
import { ProductComponent } from "./product.component";
import { ProductRoute } from "./product.routes";
import { DeviceComponent } from './device/device.component';
import { IterableModule } from "../../../pipe/iterable.pipe";
import { DeviceDetailComponent } from './device-detail/device-detail.component';
import { DevicePointComponent } from './device-point/device-point.component';
import { PointComponent } from './point/point.component';
import { DeviceGrouppointComponent } from './device-grouppoint/device-grouppoint.component';
import { DeviceGroupComponent } from './device-group/device-group.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ProductRoute,
    TooltipModule.forRoot(),
    DatepickerModule.forRoot(), 
    ShareModule,
    IterableModule
  ],
  declarations: [
    ProductComponent,
    DeviceComponent,
    DeviceDetailComponent,
    DevicePointComponent,
    PointComponent,
    DeviceGrouppointComponent,
    DeviceGroupComponent

  ],
  providers:[]
})
export class ProductModule {}
